From: Debian LibreOffice Maintainers Date: Wed, 28 Jan 2026 20:03:25 +0000 (+0100) Subject: we-rely-on-dicts-as-non-extensions-in-checks X-Git-Tag: archive/raspbian/4%26.2.0-1+rpi1^2~8 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/%22mailto:kde%40ewsoftware.de/%22style.css//%22node%24level1.html/%22/%22http:/www.example.com/%22mailto:kde%40ewsoftware.de/%22style.css/%22node%24level1.html/%22?a=commitdiff_plain;h=bf8ff1381bf07e8823d445c33336141c0edb1052;p=libreoffice.git we-rely-on-dicts-as-non-extensions-in-checks checking for the extension (only) dos not make sense; this is also fulklfilled by "system" hunspell dicts (here: hunspell-en-us), which we have in Build-Depends: Gbp-Pq: Name we-rely-on-dicts-as-non-extensions-in-checks.diff --- diff --git a/sc/qa/uitest/calc_tests8/tdf125051_spellcheking.py b/sc/qa/uitest/calc_tests8/tdf125051_spellcheking.py index 97b7dbdbb9a..abf9836e97f 100644 --- a/sc/qa/uitest/calc_tests8/tdf125051_spellcheking.py +++ b/sc/qa/uitest/calc_tests8/tdf125051_spellcheking.py @@ -16,18 +16,7 @@ from libreoffice.uno.propertyvalue import mkPropertyValues # Bug 125051 - EDITING: CRASH when start SpellCheck class tdf125051(UITestCase): - def hasExtension(self, identifier): - m = self.xContext.getByName("/singletons/com.sun.star.deployment.ExtensionManager") - # Only check bundled extensions for now; it doesn't seem useful to check user and shared ones in UITests - p = (i for i in m.getDeployedExtensions("bundled", None, None) if i.getIdentifier().Value == identifier) - return any(r.IsPresent and not r.Value.IsAmbiguous and r.Value.Value for r in (i.isRegistered(None, None) for i in p)) - def test_tdf125051_crash_spelling_dialog(self): - # Check if English spellchecker is installed and active - if not self.hasExtension("org.openoffice.en.hunspell.dictionaries"): - print("Skipping test_tdf125051_crash_spelling_dialog: English spellchecker is unavailable") - return # can't test without English spell checker - with self.ui_test.create_doc_in_start_center("calc") as document: xCalcDoc = self.xUITest.getTopFocusWindow() gridwin = xCalcDoc.getChild("grid_window")